usb, composite: after unregister gadget driver set composite to NULL
authorHeiko Schocher <[email protected]>
Tue, 4 Jun 2013 09:21:32 +0000 (11:21 +0200)
committerMarek Vasut <[email protected]>
Wed, 12 Jun 2013 20:22:52 +0000 (22:22 +0200)
commitc67b0e42a59c7ef15495bfde006398abaf2f562f
tree4cab04d60a7ac1ab8619b4375608927d8abacf03
parentd3e07478468a4544e803ff89285e400da6bc7b2d
usb, composite: after unregister gadget driver set composite to NULL

Without this, second usb_composite_register() call fails always
with -EINVAL.

Signed-off-by: Heiko Schocher <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Vasut <[email protected]>
drivers/usb/gadget/composite.c